package com.blrs.mapper;

import com.blrs.domain.ProjectMember;
import com.blrs.domain.vo.ProjectMemberVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProjectMemberMapper {
    /**
     * 新增项目成员
     */
    public int insertProjectMember(ProjectMember member);

    /**
     * 根据策划ID删除项目成员
     * 
     * @param planningId 策划ID
     * @param useTypes 用途类型列表
     * @return 结果
     */
    public int deleteProjectMemberByPlanningId(@Param("planningId") String planningId, @Param("useTypes") List<Integer> useTypes);

    /**
     * 根据策划ID查询项目成员
     */
    public List<ProjectMemberVO> selectMembersByPlanningId(@Param("planningId") String planningId, @Param("useType") Integer useType);
} 